package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;

public class Shopcart {
    @ApiModelProperty(value = "购物车商品id")
    private Integer cartid;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @ApiModelProperty(value = "商品id")
    private Integer goodsid;

    @ApiModelProperty(value = "商品数量")
    private Integer cartnumber;

    public Shopcart(Integer cartid, Integer userid, Integer goodsid, Integer cartnumber) {
        this.cartid = cartid;
        this.userid = userid;
        this.goodsid = goodsid;
        this.cartnumber = cartnumber;
    }

    public Shopcart() {
        super();
    }

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getCartnumber() {
        return cartnumber;
    }

    public void setCartnumber(Integer cartnumber) {
        this.cartnumber = cartnumber;
    }
}